Skip to content

Instantly share code, notes, and snippets.

@sunmeat
sunmeat / different files.py
Created February 24, 2026 08:29
додавання розділів (більш красивий спосіб)
views.py (файл треба створити поряд з urls.py):
from django.http import HttpResponse
def main_page(request):
return HttpResponse("main page")
def second_page(request):
return HttpResponse("second page")
@karpathy
karpathy / microgpt.py
Last active February 24, 2026 08:25
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@henfiber
henfiber / KB-Buying-guide-EU.md
Last active February 24, 2026 08:25
Buying keyboards and keyboard components from EU

Europe

  • SkinFlint : Price comparison site which has some nice filtering options per switch type etc. Searches for offers in UK, Germany, Poland and Austria
  • mykeyboard.eu : Keyboards, keycaps and accessories. Based in Belgium.
  • candykeys.com : European Store selling Vortex, Leopold, KBP, Anne Pro keyboards, keycap sets and components (ISO + ANSI). Based in Germany, ships to EU.
  • falba.tech : custom wooden bamboo cases, and some acrylic and carbon ones. Switch packs (65 browns at 48EUR). Other parts for the GH60, Atreus, ErgoDox. Also Microcontrollers, diodes, leds etc.
  • 42keebs.eu - Mostly PCBs, tools and accessories. Located in Czech Republic.
  • KEYGEM : Switches, Keycaps, lubes, cables, DIY kits and deskmats. Based in Germany, ships to the EU and worldwide.
  • [Eloquent Clicks - Custom Mechanical Keyboard Store](https://www.eloquen
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active February 24, 2026 08:26
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
{
"name": "大模型基础对话",
"nodes": [
{
"parameters": {
"public": false,
"options": {}
},
"id": "chat-trigger",
"name": "Chat Trigger",
@S22F5
S22F5 / cod03keygen.c
Last active February 24, 2026 08:19
Call of Duty 2003 Keygen
#include <ctype.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void generate_random_string(char *buffer, size_t length) {
const char charset[] = "2348DEGHKPSTUWXY";
size_t charset_size = sizeof(charset) - 1;
@satwikkansal
satwikkansal / cheatsheet.cpp
Last active February 24, 2026 08:18
C++ STL cheatsheet for competitive progrmming
/*
This a header file that includes every standard library.
You can use it to save time.
NOTE: This header file may not be recognized by compilers
other than gcc.
*/
#include <bits/stdc++.h>
/*
//Use this if the above header file doesn't work.

description: Review uncommitted changes mode: subagent model: openai/gpt-5.1-codex-max-xhigh temperature: 0.05 reasoningEffort: high textVerbosity: low tools: write: false edit: false